<?php

use Biz\service\trade\UserAddress as sAddressUser;

class AllListAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {

        $userId = $this->uid;
        $resultData = sAddressUser::getAllAddressByUid($userId);
        $this->setSuccess($resultData);
    }
}